<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include file="../Include/Conn.asp" -->
<!--#include file="seeion.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" id="css" href="images/style.css">
<title>无组件缩略图上传</title>
<style>
html,body{margin:0px;padding:0px;font-size:12px;}
form {margin:0px;padding:0px; overflow:hidden;}
.inp{width:175px; height:28px;padding:3px; line-height:28px;cursor:pointer; margin:0px; float:left; border:1px #CCC solid;font-family:'微软雅黑'; background:#FFF}
.btn{height:26px; line-height:26px;font-size:12px;margin:0px; background:#5BA4DD;float:left;color:#FFF;cursor:pointer;border:none; margin-left:3px;}
</style>
</head>
<body>
<script type="text/javascript">
function check(form) {
	if(form.file1.value=="") {//判断选中时执行
		  alert("上传文件不能为空!");
		  form.file1.focus();
		  return false;  //注释后继续执行
	 }
return true;}
</script>
<form  onsubmit="return check(this)" action="upload.asp?formname=<%=request("formname")%>&inputname=<%=request("inputname")%>&uploadstyle=<%=request("uploadstyle")%>" method="post" enctype="multipart/form-data">
<input type="file" name="file1" class="inp"/> <input type="submit" class="btn" value="上 传" />
</form>
</body>
</head>
</html>